import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js'
import Breadcrumb from '@/components/Breadcrumb.vue'
import ElementUI from 'element-ui'
import Channel from '@/components/Channel.vue'
import 'element-ui/lib/theme-chalk/index.css'

Vue.config.productionTip = false


Vue.prototype.$http = axios

Vue.use(ElementUI)

//格式：`Vue.component('组件名，对象')`
Vue.component('Breadcrumb',Breadcrumb)
Vue.component('Channel',Channel)

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
